package com.example.kotlin.mvp_simple


class LoginPresenter : BasePresenter<LoginActivity>() {

    fun doLogin(name: String, passwd: String) {
        getServiceApi(LoginModel::class.java)?.login(name,passwd)
    }

    fun checkUserName(name: String): Boolean {
        return true
    }

    fun checkPasswd(passwd: String): Boolean {
        return true
    }

    override fun onResume() {

        super.onResume()

    }

    override var model: IModel?=null



}
